Calculator system using instruction words as data

ABSTRACT

Disclosed is a portable electronic calculator system implemented on at least one semiconductor chip of the type featuring a permanent store memory for providing a sequence of multi-digit instruction words, wherein a selected subset of digits of the instruction words are utilized as data. A decoder is coupled to the memory for providing a control signal which controls entry of the selected subset into a first storage register. An arithmetic unit is coupled to the first storage register for operating on the subset. Data registers are coupled to the arithmetic unit for receiving the subset of digits and storing them as data. The first storage unit has both parallel and serial inputs and both parallel and serial outputs, with the subset entering on the serial input, and being communicated to the arithmetic unit on the parallel output.

United States Patent Cochran et al.

I museum Primary Examiner-David H. Malzahn Attorney, Agent, or Firm-Harold Levine; Ren Grossman; Thomas G. Devine 5 7 ABSTRACT Disclosed is a portable electronic calculator system implemented on at least one semiconductor chip of the type featuring a permanent store memory for providing a sequence of multi-qligit instruction words, wherein a selected subset of digits of the instruction words are utilized as data, A decoder is coupled to the memory for providing a control signal which controls entry of the selected subset into a first storage register. An arithmetic unit is coupled to the first storage register for operating on the subset. Data registers are cou' pled to the arithmetic unit for receiving the subset of digits and storing them as data The first storage unit has both parallel and serial inputs and both parallel and serial outputs, with the subset entering on the serial input, and being communicated to the arithmetic unit on the parallel output.

11 Claims, 82 Drawing Figures couu on I one Aw can PATENTED SEP 9 I975 sum PATEN i H] 9 W75 Branch of Condition l MSB Relative Branch Address Fig. 5a

LSB

=O=INCREMENT =1=DECREMENT MSPv LS B

MSB

LSB

MSB

Fig. 5b

M0 W as Omration M1 A11 Mask M2 DPT M3 DPT 1 M5 LLSD 1 W EXP M7 EXP 1 M KEYBOARD OPERAIIONS M9 MANT M10 WAIT OPERATIONS M11 MLSD 5 M12 MAEX M1 r MMSD 1 M16 MAEX 1 R0 A N R1 BiN R 4 Shift A R5 Shift B R6 Shift C R7 Shift D Rll AIB R12 AIConstant R13 NO-OP R1 r C+ Constant R15 R'5-Adder (Mask LSD) :O:add=shift 19ft :l:rub=shift right T1:Output I/O {3 2-41 (EFFECTIVE FOR 1 HT WHOLE? INSTRUC- j C- TION 0mm; WITH f= ANY DTGIT MASK) PATEN'IEASEP 915175 Y 3,904,863 SHEET 7 The Following bits -ff= IItlVE nky ii flag op rationn 1 (imcl) MGR l 6 v I i The following 8 bits effective f only if Keyboard operations when thes "1 bits equal V tho l encoded Gtate =O=SCAN KYBD (NOTE; FNCODED STATE TIMES A ARE +2 FROM ACTUAL STATES) =1=KT (fma) LsE The following t bitG (flagops) fi etiv only during flagmalsv. I5 0 KR 0 TEST FLAG A =O=KQ 1 TEST FLAG B 1 2 SET FLAG A I I2 3 SET FLAG E 2 :OZKP (fd) ZERO FLAG A MSB 5 ZERO FLAG B I I f 1 =O=KO 6 INVERT FLAG A C L 7 INVERT FLAG B IO 8 EXCH. FLAG A B =O=KN (fb) 9 COMPARE FLAG A B 10 SET FLAG KR ll ZERO FLAG KR F/g, 12 COPY FLAG B-A LSB f 13 COPY FLAG A-B in REG 5*FLAG A s0 s3 f 15 REG 5*FLAG B S0 S3 Fig 5c ENTEUSEP SW5 SHEET wmmmmm J m mam u E 3 E H om Q 1 q i $3 m2 E5 .5 m J mm of; 5V 2 2 85 35 3H3. 0 i .6 A Efim u S K H @Q J mmfi u cm W H OH E m 6 mm; 0 Amp mm NH m E PEG fifi m F 385 i. P; m 03 m N I -k m ,Mmpmwwmm u mg 25852 n 3 m r A we I oz n m am? 1 A .5 4 J H A UH m c5 mach m ,3 mwfix n 33 5% u 0: Q m @Efi u 9 H 565 u m; m m E e u t A m m i u w; H 950 n m; H m 535 n 33 w 33 Em n m mm; 33 N u m; NH H 3% E55 u m 65 $35 E F PATENTHII SEP 9 2975 ARITHMETIC CHlP SHEET 11 TO DISPLAY 26 27 24 z: 24 2: 22 2/ 2o 19 I6 /7 4 l5 23450789/ou/2/3/4 [Ill llIllIlI Fig, 7

PATENTEU SEP 9 I975 Fig, 8a

SHEET .2

Fig. 81 1 Fig. 8b2. Fig.8b3 Fig. 8b4 Fig. 8b5

Fig. 8b6 Fig. 8b? Fig. 8b8 Fig. 8b9 Fig. BbIO Fig. Bcl Fig. 8c2 Fig. 8c3 Fig. 8C4

Fig. 8. 5 Fig. 8c6 g- 8c'! Fig. 8c8

Fig. Bdl Fig. BdZ Fig. 8d3

Fig. 8d4 Fig. 8d5 Fig. 8d6

SHEET syzsr 1) 3 l 2 I I I m 9 PATENTEU SEP 9 5 SHEET D D V 3+ ERR 

1. A portable electronic calculator system implemented on at least one semiconductor chip comprising: a. permanent storage means for storing multi-bit instruction words; b. data storage means for storing multi-bit data words; c. decode means, coupled to the permanent storage means for receiving and decoding the instruction words and for selectively providing a control signal and specified bits of each instruction word; d. multi-purpose storage means coupled to the decode means to selectively receive the specified bits, under control of the control signal; and e. arithmetic means, coupled to the data sotrate means and to the multi-purpose storage means for receiving selected data words and the specified bits for performing arithmetic operations thereon.
 2. The calculator system of claim 1 wherein the decode means comprise masking means for detecting the specified bits, and further storage means for receiving the specified bits and connected to transmit the specified bits to the multi-purpose storage means.
 3. The calculator system of claim 1 further comprising means for selectively connecting the multi-purpose storage and means to the data storage means.
 4. The calculator system of claim 3 wherein the permanent storage means comprises a read-only-memory.
 5. The calculator system of claim 4 wherein the data memory means comprise a random access memory.
 6. The calculator system of claim 5 wherein the decode means comprise masking means for detecting the specified bits, and further storage means for receiving the specified bits and connected to transmit the specified bits to the mutli-purpose storage means.
 7. The calculator system of claim 6 wherein the multi-purpose storage means comprise serial output means, connected to the data storage means and parallel output means connected to the arithmetic means.
 8. The calculator system of claim 7 wherein the multi-purpose storage means further comprise serial input means, connected to the further storage means, and parallel input means connected to the arithmetic means.
 9. In a calculator system of the type implemented on at least one semiconductor chip, having a permanent store memory for permanent storage of, and selective, non-destructive retrieval of instruction words, data storage means for storing and retrieving data words, and an arithmetic logic unit for performing arithmetic operations, the method of generating data for operations to be performed thereon by the arithmetic logic unit, comprising the steps of: a. decoding a selected instruction word; b. selectively generating a control signal, determined by the decoding step; c. selecting bits from the instruction word, determined by the decoding step; d. storing the selected bits in a temporary storage means; and e. transmitting the selected bits from the temporary storage means to the arithmetic logic unit for arithmetic operations thereon.
 10. The method of claim 9 further comprising, after the transmitting step, the step of communicating the results to the data storage means.
 11. The method of claim 9, further comprising, after the transmitting step, the step of communicating the results to the temporary storage means. 